<template>
<div>
        <tagCom :data="dataList" v-model="checkedList" v-on:select="selectTag" ></tagCom>

</div>

</template>
<script>
export default {
  data: function() {
    return {
      dataList: [
        { label: "延", value: "1" },
        { label: "次保", value: "2" },
        { label: "续保111111111111", value: "3" }
      ],
      checkedList: "2",
      isMany: true
    };
  },
  methods: {
    selectTag: function(value) {
      alert(value);
      this.$data.checkedList = value;
    }
  }
};
</script>

<style>
.tag_default {
}
.tag_checked {
}
.tag_unchecked {
}
.tag_success {
}
</style>
